<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    var student=new Object()
    student.name='zhangsan'
    student.age=48
    student.sayHi=function(){
        alert('hi')
    }
    var person={'name':'zhangsan','age':25}
    console.log(person)

</script>
<button onclick="student.sayHi()">1</button>
</body>
</html>